<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/amazeui.min.css" />
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/hy.admin.css" />
	</head>

	<body>
		<div class="am-g">
			{include file='../Common/hy_header.html'}
			<div class="am-u-md-8 am-u-end">
				<form class="am-form am-form-horizontal hy-js-form">
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">Token:</label>
						<div class="am-u-sm-9">
							<input type="text" name="token" value="{$setting['token']}" placeholder="绑定服务器时填写的token">
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">Appid:</label>
						<div class="am-u-sm-9">
							<input type="text" name="appid" value="{$setting['appid']}" placeholder="{$_L.SITE_NAME}">
						</div>
					</div>
					<div class="am-form-group">
						<label for="user-name" class="am-u-sm-3 am-form-label">Appsecret:</label>
						<div class="am-u-sm-9">
							<input type="text" name="appsecret" value="{$setting['appsecret']}" placeholder="{$_L.SITE_KEYWORD}">
						</div>
					</div>
					
					<div class="am-form-group">
						<div class="am-u-sm-9 am-u-sm-push-3">
							<button type="button" class="am-btn am-btn-primary hy-js-submit">{$_L.SAVE}</button>
						</div>
					</div>
				</form>
			</div>
		</div>
		{include file='../Common/hy_footer.html'}
		<script type="text/javascript">
			 hy_submit('index.php?g=admin&m=wxrule&a=save');
		</script>
	</body>

</html>